package com.lyz.apidemo;

import java.util.Calendar;

/**
 * @ClassName Test8
 * @Description Calendar日历对象
 * @Author 2214361854
 * @Date 2022/2/19 22:16
 * @Version 1.0
 */
public class Test8 {
    public static void main(String[] args) {
        Calendar cal = Calendar.getInstance();
        System.out.println(cal);

        cal.add(Calendar.DAY_OF_YEAR, 64);
        cal.add(Calendar.MINUTE, 58);
        System.out.println(cal);
    }
}
